using System;
using Machine.Migrations;

public class AddTableCustomerTypes : FluentMigration
{
	public override void Up()
	{
		Schema.CreateTable("CustomerTypes", t =>
		                                    {
		                                    	t.AddPrimaryKey<int>("Id").Identity();
		                                    	t.AddColumn<string>("Description", 100);
		                                    });
		Database.ExecuteNonQuery("INSERT INTO CustomerTypes (Description) VALUES ('Test')");
	}

	public override void Down()
	{
		throw new NotImplementedException();
	}
}